projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba76fe
)
inspector: Add an icon to the render node list
author
Benjamin Otte
<otte@redhat.com>
Wed, 5 Sep 2018 04:34:03 +0000
(06:34 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 16 Sep 2018 16:50:17 +0000
(18:50 +0200)
gtk/inspector/recorder.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/recorder.c
b/gtk/inspector/recorder.c
index c136758af0dc36e726d4ab2004aea90573d3b428..8c27ccc8d8ba2d9da383d143c01d2c3b7e1152f4 100644
(file)
--- a/
gtk/inspector/recorder.c
+++ b/
gtk/inspector/recorder.c
@@
-345,6
+345,11
@@
create_widget_for_render_node (gpointer row_item,
}
gtk_container_add (GTK_CONTAINER (box), child);
+ /* icon */
+ child = gtk_image_new_from_paintable (paintable);
+ gtk_container_add (GTK_CONTAINER (box), child);
+
+ /* name */
name = node_name (node);
child = gtk_label_new (name);
g_free (name);